package pl.edu.uj.tcs.blef.protocol;

public class RequestRequest extends Request {

	private String playerNick;
	private String playerIp;
	
	RequestRequest(String message, RequestHandler handler) {
		super(message, handler);
		fill();
	}

	@Override
	protected void fill() {
		this.playerNick = message.split(" ")[1];
		this.playerIp = message.split(" ")[2];
	}

	public String getPlayerNick(){
		return this.playerNick;
	}
	
	public String getPlayerIp(){
		return this.playerIp;
	}
}
